
#include <build.h>
#include <config.h>
#include "board.h"



void memtest(size_t megabytes, int passes);
#define version_print() printf("build version: "); printf(BUILD_VERSION); printf("\n")

int main()
{
#ifdef BOARD_FVP_AEM_BASE
	UartInit();
#endif
	version_print();


	int mem_size = 1024; // M
	int test_count = 1;

	printf("=============\n");
	printf("this is test: hello world\n");
	printf("=============\n");

	printf("start mem_test\n");
	memtest(mem_size, test_count);
	printf("mem_test finish\n");
	while (1);
	return 0;
}